package com.biz.primus.ms.oms;

import com.biz.primus.ms.base.config.BaseConfiguration;
import com.biz.primus.ms.oms.stream.*;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.stream.annotation.EnableBinding;
import org.springframework.context.annotation.Import;

/**
 * @author yanweijin
 * @date 2017/9/22
 */

@SpringCloudApplication
@Import(BaseConfiguration.class)
@EnableBinding({OmsStateProcessor.class,
		OmsCollectionProcessor.class,
//		OrderStateSource.class,
//		ReturnStateSource.class,
		OrderStateSink.class,
		ReturnStateSink.class

})
public class OmsApplication {

	public static void main(String[] args) {
		SpringApplication.run(OmsApplication.class, args);
	}

}
